<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>修改吧</title>
</head>
<body>
<form th:action="@{/update}" method="post">
    <table>
        <tr>
            <td>修改页面</td>
        </tr>
        <tr>
            <td>姓名</td>
            <td>
                <input type="text" name="sname" th:value="${one.sname}"/>
            </td>
        </tr>
        <tr>
            <td>性别</td>
            <td>
                <input type="text" name="sex" th:value="${one.sex}"/>
            </td>
        </tr>
        <tr>
            <td>班级</td>
            <td>
                <input type="text" name="classes" th:value="${one.classes}"/>
            </td>
        </tr>
        <tr>
            <td>家庭住址</td>
            <td>
                <input type="text" name="home" th:value="${one.home}"/>
            </td>
        </tr>
        <tr>
            <td>
                <input type="submit" value="提交"/>
                <input type="hidden" name="sid" th:value="${one.sid}"/>
            </td>
        </tr>
    </table>
</form>
</body>
</html>